package cn.tj212.xiaoyin.core.consts.dao;

import cn.tj212.xiaoyin.common.page.TailPage;
import cn.tj212.xiaoyin.core.consts.domain.ConstsSiteCarousel;

import java.util.List;

public interface ConstsSiteCarouselDao {
    ConstsSiteCarousel getById(Long id);

    List<ConstsSiteCarousel> queryCarousels(Integer count);

    Integer getTotalItemsCount(ConstsSiteCarousel queryEntity);

    List<ConstsSiteCarousel> queryPage(ConstsSiteCarousel queryEntity, TailPage<ConstsSiteCarousel> page);

    void create(ConstsSiteCarousel entity);

    void createSelectivity(ConstsSiteCarousel entity);

    void update(ConstsSiteCarousel entity);

    void updateSelectivity(ConstsSiteCarousel entity);

    void delete(ConstsSiteCarousel entity);

    void deleteLogic(ConstsSiteCarousel entity);
}
